package com.hxzy.shop.dto.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @Author rlj
 * @Date 2021/8/3 16:30
 * @Version 1.0
 */
@Data
public class BackUpdateLabel implements Serializable {
    private static final long serialVersionUID = -5880477622642131990L;

    @ApiModelProperty(value = "标签id")
    private Long id;

    @NotBlank(message = "标签名不能为空")
    @ApiModelProperty(value = "标签名称")
    private String labelName;

    @NotNull(message = "标签类型不能为空")
    @ApiModelProperty(value = "标签类型 1手动标签  2自动标签")
    private Integer labelType;

    /**
     * 标签描述
     */
    @ApiModelProperty(value = "标签描述")
    private String labelIntroduction;
    @ApiModelProperty(value = "药品id")
    private List<Long> drugId;
}
